package com.guomao.entity;

public class Buff extends Element   {
    public Buff() {
    }

    public Buff(int x, int y) {
        super(x, y);
        super.path = "day16-javase-tank/images/speed.png";//默认值null
        super.getSize();
    }

    public boolean isCover(Element e) {
        return e.x == x && e.y == y;
    }
}